package org.ww.product.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.ww.common.to.es.SkuEsModel;
import org.ww.common.utils.R;

import java.util.List;

/**
 * @program: gmall
 * @description: 搜索feign接口
 * @author: ww
 * @create: 2024-02-19 13:21
 **/
@FeignClient("gmall-search")
public interface SearchFeignService {

    @PostMapping("/elastic/save/product")
    R productStatusUp(@RequestBody List<SkuEsModel> skuEsModels);

}
